package com.hospital.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("admission_application")
public class AdmissionApplication {
    @TableId(value = "aId", type = IdType.AUTO)
    private Integer aId;
    private String aNumber;
    private Integer pId;
    private Integer dId;
    private Integer depId;
    private String aReason;
    private String aDiagnosis;
    private Integer aUrgency;
    private String wType;
    private Integer aState;
    private LocalDateTime aApplyTime;
    private LocalDateTime aApproveTime;
    private Integer aApproveDoctor;
    private String aRejectReason;
    private String aRemark;
}
